package com.cbh.entity;

import com.cbh.component.base.annotations.DBColumn;
import com.cbh.component.base.annotations.DBTable;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@JsonInclude(Include.NON_NULL)
@ApiModel(value = "InsuranceCompany", description = "保险公司")
@DBTable(name = "general_insurance_company")
public class InsuranceCompany {
	@DBColumn(primary = true)
	@ApiModelProperty(value = "序号")
	private String icId;
	@DBColumn
	@ApiModelProperty(value = "代码")
	private String icCode;
	@DBColumn
	@ApiModelProperty(value = "名称")
	private String icName;
	@DBColumn
	@ApiModelProperty(value = "图标")
	private String icLogo;
	@DBColumn
	@ApiModelProperty(value = "简介")
	private String icDetail;

	public InsuranceCompany def(String icId, String icCode, String icName, String icLogo, String icDetail) {
		this.icId = icId;
		this.icCode = icCode;
		this.icName = icName;
		this.icLogo = icLogo;
		this.icDetail = icDetail;
		return this;
	}

	public InsuranceCompany id(String icId) {
		this.icId = icId;
		return this;
	}

	public InsuranceCompany code(String icCode) {
		this.icCode = icCode;
		return this;
	}

	public String getIcId() {
		return icId;
	}

	public void setIcId(String icId) {
		this.icId = icId;
	}

	public String getIcCode() {
		return icCode;
	}

	public void setIcCode(String icCode) {
		this.icCode = icCode;
	}

	public String getIcName() {
		return icName;
	}

	public void setIcName(String icName) {
		this.icName = icName;
	}

	public String getIcLogo() {
		return icLogo;
	}

	public void setIcLogo(String icLogo) {
		this.icLogo = icLogo;
	}

	public String getIcDetail() {
		return icDetail;
	}

	public void setIcDetail(String icDetail) {
		this.icDetail = icDetail;
	}

}
